package com.nongfuspring.nongfu.service;

import com.nongfuspring.nongfu.pojo.Opinion;
import com.nongfuspring.nongfu.pojo.User;
import org.springframework.stereotype.Service;

import java.util.ArrayList;

@Service
public interface SystemService {
    ArrayList<String> getRoles(String userId);

    int add(User user);

    ArrayList<Opinion> getOpinion();

    Integer deleteUser(String username);
}
